home *** CD-ROM | disk | FTP | other *** search
INI File | 2004-06-28 | 1.6 KB | 73 lines |
- [SUBJECT]
- Description=Scrolls vertically multiple text boxes.
- ImageIndex=-1
- Folder=Text Effects
-
-
- [BODY_TEXT]
- ;<!-- Original: Michael Tartaglia (stonedstan@hotmail.com) -->
- ;<!-- Web Site: http://www.geocities.com/SiliconValley/Horizon/5235 -->
- ;
- ;<!-- This script and many more are available free online at -->
- ;<!-- The JavaScript Source!! http://javascript.internet.com -->
- ;
- ;<script language="JavaScript">
- ;<!-- Begin
- ;msg ="`message`";
- ;align="center";
- ;speed=`speed`;
- ;up=true;
- ;spas=" ";
- ;for (a=0;a<=12;a++) {spas+=" ";}
- ;msg=spas+msg+spas;
- ;j=eval(-1);
- ;stop=msg.length;
- ;document.write("<form name='form'><table border=0 cellspacing=0 "
- ;+"cellpadding=0 align="+align+">");
- ;for (i=1;i<=13;i++) {
- ;document.write("<tr><td><input type=text name=\"box"+i+"\" size=1>");
- ;document.write("</td></tr>");
- ;}
- ;document.write("</table></form>");
- ;function scrollIt() {
- ;j++;
- ;with (document.form) {
- ;if ((j+12) <= stop) {
- ;box1.value = msg.charAt(j);
- ;box2.value = msg.charAt(j+1);
- ;box3.value = msg.charAt(j+2);
- ;box4.value = msg.charAt(j+3);
- ;box5.value = msg.charAt(j+4);
- ;box6.value = msg.charAt(j+5);
- ;box7.value = msg.charAt(j+6);
- ;box8.value = msg.charAt(j+7);
- ;box9.value = msg.charAt(j+8);
- ;box10.value = msg.charAt(j+9);
- ;box11.value = msg.charAt(j+10);
- ;box12.value = msg.charAt(j+11);
- ;box13.value = msg.charAt(j+12);
- ;} else {
- ;j=0;
- ; }
- ;}
- ;setTimeout("scrollIt()",speed);
- ;}
- ;scrollIt();
- ;// End -->
- ;</script>
-
-
-
- [`message`]
- Kind=S
- Value=Hello, Look @ my vertical scroller!
-
-
-
- [`speed`]
- Kind=N
- Value=250
-
-
-
-